<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2019/5/22
 * Time: 18:01
 * name:更新绩效提成记录
 * url:/erpSell/update_performance_royalty_record
 */

$oprr_id = $route->bodyParams["oprr_id"];//主键ID

//更新条件
$whereArr = [
    "oprr_id" => $oprr_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_performance_royalty_record",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );